﻿<local:baseParametersPage x:Class="USMC.Net.manualParametersPage"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      xmlns:local="clr-namespace:USMC.Net"
      mc:Ignorable="d"
	Title="manualParametersPage">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="Auto"/>
        </Grid.ColumnDefinitions>
        <Label Grid.Row="0" Grid.Column="1" HorizontalAlignment="Center">X</Label>
        <Label Grid.Row="0" Grid.Column="2" HorizontalAlignment="Center">Y</Label>
        <TextBlock TextWrapping="Wrap" Grid.Row="1" Grid.Column="0">Кнопки отключены</TextBlock>
        <TextBlock TextWrapping="Wrap" Grid.Row="2" Grid.Column="0">Задержка сброса</TextBlock>
        <TextBlock TextWrapping="Wrap" Grid.Row="3" Grid.Column="0">Сигнал первой кнопки</TextBlock>
        <TextBlock TextWrapping="Wrap" Grid.Row="4" Grid.Column="0">Сигнал второй кнопки</TextBlock>
        <CheckBox Grid.Row="1" Grid.Column="1" Name="xDisableButtonsCheckBox" HorizontalAlignment="Center" VerticalAlignment="Center"/>
        <CheckBox Grid.Row="1" Grid.Column="2" Name="yDisableButtonsCheckBox" HorizontalAlignment="Center" VerticalAlignment="Center"/>
        <TextBox Grid.Row="2" Grid.Column="1" Name="xResetDelayTextBox" Width="60" VerticalAlignment="Bottom"/>
        <TextBox Grid.Row="2" Grid.Column="2" Name="yResetDelayTextBox" Width="60" VerticalAlignment="Center"/>
        <ToggleButton Grid.Row="3" Grid.Column="1" Name="xImpulseButton1" VerticalAlignment="Center" Width="20">
            <ToggleButton.Style>
                <Style TargetType="{x:Type ToggleButton}">
                    <Setter Property="Content" Value="0"/>
                    <Style.Triggers>
                        <Trigger Property="IsChecked" Value="True">
                            <Setter Property="Content" Value="1"/>
                        </Trigger>
                    </Style.Triggers>
                </Style>
            </ToggleButton.Style>
        </ToggleButton>
        <ToggleButton Grid.Row="4" Grid.Column="1" Name="xImpulseButton2" VerticalAlignment="Center" Width="20">
            <ToggleButton.Style>
                <Style TargetType="{x:Type ToggleButton}">
                    <Setter Property="Content" Value="0"/>
                    <Style.Triggers>
                        <Trigger Property="IsChecked" Value="True">
                            <Setter Property="Content" Value="1"/>
                        </Trigger>
                    </Style.Triggers>
                </Style>
            </ToggleButton.Style>
        </ToggleButton>
        <ToggleButton Grid.Row="3" Grid.Column="2" Name="yImpulseButton1" VerticalAlignment="Center" Width="20">
            <ToggleButton.Style>
                <Style TargetType="{x:Type ToggleButton}">
                    <Setter Property="Content" Value="0"/>
                    <Style.Triggers>
                        <Trigger Property="IsChecked" Value="True">
                            <Setter Property="Content" Value="1"/>
                        </Trigger>
                    </Style.Triggers>
                </Style>
            </ToggleButton.Style>
        </ToggleButton>
        <ToggleButton Grid.Row="4" Grid.Column="2" Name="yImpulseButton2" VerticalAlignment="Center" Width="20">
            <ToggleButton.Style>
                <Style TargetType="{x:Type ToggleButton}">
                    <Setter Property="Content" Value="0"/>
                    <Style.Triggers>
                        <Trigger Property="IsChecked" Value="True">
                            <Setter Property="Content" Value="1"/>
                        </Trigger>
                    </Style.Triggers>
                </Style>
            </ToggleButton.Style>
        </ToggleButton>
        <Expander Grid.Row="5" Grid.Column="0" Grid.ColumnSpan="3" Header="Ускорение" Visibility="Collapsed">
            
        </Expander>
    </Grid>
</local:baseParametersPage>
